/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.com.jsepc.rep.vo;

/**
 *
 * @author 赵远
 */
public class DementionVO {
    private String id;
    private String text;
    private String parent;
    private String code;
    private boolean leaf;
    private boolean checked;
    private String cls;
    private String icon;
    private boolean expanded;
    private String children;
    
    public DementionVO(){
        
    }
    public DementionVO(String id,String text,String parent,String code,boolean leaf,boolean checked){
        
        this.id=id;
        this.text=text;
        this.parent=parent;
        this.code=code;
        this.leaf=leaf;
        this.checked=checked;
        
    }
    
    public boolean isExpanded() {
		return expanded;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getCls() {
		return cls;
	}
	public void setCls(String cls) {
		this.cls = cls;
	}
	public boolean getChecked(){
            return this.checked;
        }
        public void setChecked(Boolean b){
            this.checked=b;
        }
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
        public void setId(String id){
            this.id=id;
        }
        public String getId(){
            return this.id;
        }
        public void setText(String text){
            this.text=text;
        }
        public String getText(){
            return this.text;
        }
        public void setParent(String parent){
            this.parent=parent;
        }
        public String getParent(){
            return this.parent;
        }
        public void setCode(String code){
            this.code=code;
        }
        public String  getCode(){
            return this.code;
        }
        
        public void setChildren(String children){
            this.children=children;
        }
        
        public String getChildren(){
            return this.children;
        }
}
